package cn.sciento.core.async;

public enum AsyncTaskState {
    DOING("doing"),
    DONE("done"),
    CANCELLED("cancelled");

    private String code;

    AsyncTaskState(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    public String toString() {
        return this.code;
    }
}
